import request from "@/utils/request";
// 登录成功的请求
export function login(data) {
  return request({
    url: "/sys/login",
    method: "post",
    data,
  });
}
// 存储本地
export function getUserInfo() {
  return request({
    url: "/sys/profile",
  });
}
